home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / FROMUTS / DDEPASCAL / DDE / !PC / h / txtopt < prev    next >
Text File  |  1992-02-10  |  1KB  |  44 lines

  1. (*
  2.  * Title:   txtopt.h
  3.  * Purpose: setting/reading the name used for setting text editing options
  4.  * 
  5.  *)
  6.  
  7. #ifndef __txtopt_h
  8. #define __txtopt_h
  9.  
  10.  
  11. (* ----------------------------- txtopt_set_name ---------------------------
  12.  * Description:   Set the name used as a system variable for setting text
  13.  *                editing options
  14.  *
  15.  * Parameters:    char *name -- the name to be prepended to $Options to form
  16.  *                              the system variable name.
  17.  * Returns:       void.
  18.  * Other Info:    If this function is not called before using any of the
  19.  *                txt and txtedit functions, the system variable name
  20.  *                defaults to Edit$Options.
  21.  *                eg. txtopt_set_name("MyEdit") sets the system variable name
  22.  *                to MyEdit$Options
  23.  *
  24.  *)
  25. procedure txtopt_set_name(name : string); extern;
  26.  
  27.  
  28. (* ---------------------------- txtopt_get_name ----------------------------
  29.  * Description:   Get a pointer to the name currently prepended to $Options
  30.  *                to form a system variable for use in setting text editing
  31.  *                options.
  32.  *
  33.  * Parameters:    void.
  34.  * Returns:       pointer to name
  35.  * Other Info:    If no name has been set, this will point to "Edit".
  36.  *                eg. assuming option name is currently MyEdit$Options
  37.  *                then txtopt_get_name will return a pointer to the string
  38.  *                "MyEdit".
  39.  *
  40.  *)
  41. function txtopt_get_name : pointer; extern;
  42.  
  43. #endif
  44.